package com.cl.ks.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author chenyitao
 * @date 2021/4/19
 */
@Component
@Getter
public class ValueConfig {

    @Value("${app.jwt.issuer:}")
    private String jwtIssuer;

    @Value("${app.jwt.security:}")
    private String jwtSecurity;

    @Value("${app.jwt.expiration:}")
    private Long jwtExpiration;

    @Value("${app.jwt.token-unique:}")
    private Boolean jwtTokenUnique;
}
